package com.zhiqianbao.entity;

import java.math.BigDecimal;


/**
* @ClassName: Repay
* @Description: 还款表
* @author 李兴达
* @date 2015年12月25日 上午11:02:31
*
*/ 
@SuppressWarnings("serial")
public class Repay extends IdEntity{
	/**
	* @Fields loanId :借款Id 
	*/ 
	private Long loanId;
	/**
	* @Fields terms : 期数
	*/ 
	private Integer terms;
	/**
	* @Fields principal :本金
	*/
	private BigDecimal principal;
	/**
	* @Fields interest : 利息
	*/
	private BigDecimal interest;
	/**
	* @Fields monthFee : 月管理费
	*/
	private BigDecimal monthFee;
	/**
	* @Fields repayTotal : 本期还款合计
	*/ 
	private double repayTotal;
	/**
	* @Fields playDate : 计划还款日
	*/ 
	private Long playDate;
	/**
	* @Fields repayDate : 实际还款日
	*/ 
	private Long repayDate;
	/**
	* @Fields overdue : 逾期日
	*/ 
	private Integer overdue;
	/**
	* @Fields state : 状态
	*/ 
	private String state;

	/**
	 * 逾期天数
	 * @author liang 2016-01-14
	 */
	private Integer extensionTime;
	/**
	 * 展期费用
	 * @author liang 2016-01-14
	 */
	private BigDecimal extenssionFee;
	/**
	 * 实际还款金额
	 */
	private BigDecimal realRepayMoney;
	/**
	 * 上期结余
	 */
	private BigDecimal periodBalance;
	
	
	public Integer getTerms() {
		return terms;
	}
	public void setTerms(Integer terms) {
		this.terms = terms;
	}
	public BigDecimal getPrincipal() {
		return principal;
	}
	public void setPrincipal(BigDecimal principal) {
		this.principal = principal;
	}
	public BigDecimal getInterest() {
		return interest;
	}
	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}
	public BigDecimal getMonthFee() {
		return monthFee;
	}
	public void setMonthFee(BigDecimal monthFee) {
		this.monthFee = monthFee;
	}
	public double getRepayTotal() {
		return repayTotal;
	}
	public void setRepayTotal(double repayTotal) {
		this.repayTotal = repayTotal;
	}
	public Integer getOverdue() {
		return overdue;
	}
	public void setOverdue(Integer overdue) {
		this.overdue = overdue;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Long getLoanId() {
		return loanId;
	}
	public void setLoanId(Long loanId) {
		this.loanId = loanId;
	}


	public Long getPlayDate() {
		return playDate;
	}

	public void setPlayDate(Long playDate) {
		this.playDate = playDate;
	}

	public Long getRepayDate() {
		return repayDate;
	}

	public void setRepayDate(Long repayDate) {
		this.repayDate = repayDate;
	}

	public Integer getExtensionTime() {
		return extensionTime;
	}

	public void setExtensionTime(Integer extensionTime) {
		this.extensionTime = extensionTime;
	}


	public BigDecimal getExtenssionFee() {
		return extenssionFee;
	}

	public void setExtenssionFee(BigDecimal extenssionFee) {
		this.extenssionFee = extenssionFee;
	}

	public BigDecimal getRealRepayMoney() {
		return realRepayMoney;
	}

	public void setRealRepayMoney(BigDecimal realRepayMoney) {
		this.realRepayMoney = realRepayMoney;
	}

	public BigDecimal getPeriodBalance() {
		return periodBalance;
	}

	public void setPeriodBalance(BigDecimal periodBalance) {
		this.periodBalance = periodBalance;
	}
}
